package com.ruoyi.prevention.isoward.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 隔离病房信息对象 sys_isoward
 * 
 * @author wad
 * @date 2022-04-06
 */
public class Isoward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 隔离病房id */
    private Long wardId;

    /** 隔离病房名 */
    @Excel(name = "隔离病房名")
    private String wardName;

    /** 病房状态(0使用 1空闲 2关闭) */
    @Excel(name = "病房状态(0使用 1空闲 2关闭)")
    private String wardStatus;

    /** 启用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "启用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 关闭时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "关闭时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date closeTime;

    public void setWardId(Long wardId) 
    {
        this.wardId = wardId;
    }

    public Long getWardId() 
    {
        return wardId;
    }
    public void setWardName(String wardName) 
    {
        this.wardName = wardName;
    }

    public String getWardName() 
    {
        return wardName;
    }
    public void setWardStatus(String wardStatus) 
    {
        this.wardStatus = wardStatus;
    }

    public String getWardStatus() 
    {
        return wardStatus;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setCloseTime(Date closeTime) 
    {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() 
    {
        return closeTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wardId", getWardId())
            .append("wardName", getWardName())
            .append("wardStatus", getWardStatus())
            .append("startTime", getStartTime())
            .append("closeTime", getCloseTime())
            .toString();
    }
}
